package com.woniu.supermarket.mapper;

import com.woniu.supermarket.entity.PurchaseCheck;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PurchaseCheckMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseCheck record);

    PurchaseCheck selectByPrimaryKey(Integer id);

    List<PurchaseCheck> selectAll();

    int updateByPrimaryKey(PurchaseCheck record);

    List<PurchaseCheck> selectByPurcheckNumber(String purchaseCheck);
}